.Use the information in the following topics to learn about the improved binding of Quality of Service (QoS) profiles.
efa policy qos profile list --ip 10.20.246.1 Name: profileTen Trust: dscp Dscp->Tc: dscp2tcTen Service Policy Map: spTen, out Name: profileTenIF Trust: dscp Dscp->Tc: dscp2tcTenIF Service Policy Map: spTen, out IP Addresses: +--------------+-------------+-----------+------------------+-----------+---------------+ | profileTen | 10.20.246.1 | eth 0/29 | tenant | tenantAB | cfg-in-sync | +--------------+-------------+-----------+------------------+-----------+---------------+ | profileTen | 10.20.246.1 | eth 0/30 | tenant | tenantAB | cfg-in-sync | +--------------+-------------+-----------+------------------+-----------+---------------+ | profileTenIF | 10.20.246.1 | eth 0/11 | tenant-interface | tenantAB | cfg-refreshed | +--------------+-------------+-----------+------------------+-----------+---------------+ After the recovery is complete, app-state of interfaces will be changed from “cfg-refreshed” to “cfg-in-sync". ✗ efa policy qos profile bind --name profileTen --tenant tb Error : Device 10.64.208.16 not reachable. Please retry after verifying the inputs and connectivity issues ✗ efa policy qos profile bind --name profileFab --fabric fabric1 +------------------+-----------+-----------+ | Qos Profile Name | Bind Type | Bind Name | +------------------+-----------+-----------+ | profileFab | fabric | fabric1 | +------------------+-----------+-----------+ Qos Profile details +--------------+---------+---------------------------------------------------------+-----------------+ | IP Address | Result | Reason | Rollback reason | +--------------+---------+---------------------------------------------------------+-----------------+ | 10.20.246.30 | Success | | | +--------------+---------+---------------------------------------------------------+-----------------+ | 10.20.246.29 | Partial | IFs: [0/15 0/16 0/24 0/29 0/30 0/1 0/13 0/10| | | | | | Reason: netconf rpc [error] QoS config on LAG | | | | | member is not allowed' | | +--------------+---------+---------------------------------------------------------+-----------------+ ✗ efa policy qos profile bind --name profileFabIF --fabric fabric1 --port fabric-internal +------------------+-----------+-----------+ | Qos Profile Name | Bind Type | Bind Name | +------------------+-----------+-----------+ | profileFabIF | fabric | fabric1 | +------------------+-----------+-----------+ Qos Profile details +--------------+---------+--------------------------------------------------------------+----------------+ | IP Address | Result | Reason | Rollback reason| | +--------------+---------+--------------------------------------------------------------+----------------+ | 10.20.246.29 | Partial | IFs: [64] Err: Reason: netconf rpc [error] '%Error: | | | | | Policy-Map not found' | | +--------------+---------+--------------------------------------------------------------+----------------+ | 10.20.246.30 | Partial | IFs: [64] Err: Reason: netconf rpc [error] '%Error: | | | | | Policy-Map not found' | | +--------------+---------+--------------------------------------------------------------+----------------+
Sometimes, when multiple actions are happening at the same time (concurrent execution of tenant CRUD operations and QoS profile binding by policy service), there can be issues. For instance, if a tenant service is modifying a switchport mode on an interface by creating an EPG while a QoS profile (tenantIF) is being bound, it can cause the tenantIF profile binding to fail. This happens because the switchport mode change could occur before the binding process is complete. If this occurs, the operation will result in failure, and the device will display the following output:
efa policy qos profile bind --name profileTenIF --tenant tenantAB --port "10.20.246.1[0/11],10.20.246.2[0/11]" +------------------+-----------+-----------+ | Qos Profile Name | Bind Type | Bind Name | +------------------+-----------+-----------+ | profileTenIF | tenant | tenantAB | +------------------+-----------+-----------+ Qos Profile details +-------------+---------+--------------------------------------------------------------+-----------------+ | IP Address | Result | Reason | Rollback reason | +-------------+---------+--------------------------------------------------------------+-----------------+ | 10.20.246.2 | Partial | IFs: [0/11] Err: Reason: netconf rpc [error] '%Error: Enable | | | | | QoS trust DSCP' | | +-------------+---------+--------------------------------------------------------------+-----------------+ | 10.20.246.1 | Partial | IFs: [0/11] Err: Reason: netconf rpc [error] '%Error: Enable | | | | | QoS trust DSCP' | | +-------------+---------+--------------------------------------------------------------+-----------------+
To ensure successful provisioning, re-issue the binding after the switchport mode changes have been processed, following any switchport mode changes made to the EPG. Alternatively, if the tenantIF binding is applied immediately after the creation of the EPG, it is assumed that the switchport mode changes due to EPG creation have been processed before the application of binding, resulting in successful provisioning.
Option -po
uses PO
name string instead of PO ID string for the efa policy qos
bind/unbind command.
Following are the examples of an existing command and a modified command:
efa policy qos profile bind --name profile2 --tenant tenant1 --po "1,3" efa policy qos profile unbind --name profile2 --tenant tenant1 --po "1,3"
efa policy qos profile bind --name profile2 --tenant tenant1 --po "po1,po3" efa policy qos profile unbind --name profile2 --tenant tenant1 --po "po1,po3"